package com.hlkj.pay.vo.admin.req.role;

import com.hlkj.pay.vo.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author HlpayTeam
 * @date 2024/09/10 14:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleUpdateReq extends BaseReq {
    
    
    @Schema(description ="角色code")
    @Size(max = 64)
    @NotBlank
    private String code;
    @Schema(description ="角色名称")
    @NotBlank
    @Size(max = 64)
    private String name;
    
    @Schema(description ="描述")
    @Size(max = 256)
    private String description;
    /**
     * 是否超级管理员 1 是 0 否
     */
    @Schema(description = "是否超级管理员")
    private Boolean superAdminFlag;
}
